<!DOCTYPE html>
<html>
<head>
<%@include file="/common/common.jsp" %>
<meta charset="UTF-8">
<title>Insert title here</title>

<link rel="stylesheet" href="${basePath}/assets/css/lyz.calendar.css"/>

<script type="text/javascript" charset="UTF-8" src="${basePath}/assets/js/lyz.calendar.min.js"></script>  

<!--  
<script type="text/javascript"
	src="${basePath}/assets/js/jquery.min.js"></script>

<link rel="stylesheet"
	href="${basePath}/assets/css/bootstrap.min.css">
<script type="text/javascript"
	src="${basePath}/assets/js/bootstrap.min.js"></script>

<script type="text/javascript" charset="UTF-8" src="${basePath}/assets/js/date-time/bootstrap-datetimepicker.min.js"></script>  
<script type="text/javascript" charset="UTF-8" src="${basePath}/assets/js/date-time/locales/bootstrap-datepicker.zh-CN.js"></script> 


<link rel="stylesheet" charset="UTF-8" href="${basePath}/assets/css/bootstrap-datetimepicker.css" >
-->
<script type="text/javascript">
$(function () {

    $("#txtBeginDate").calendar({

        controlId: "divDate",                                 // 弹出的日期控件ID，默认: $(this).attr("id") + "Calendar"

        speed: 200,                                           // 三种预定速度之一的字符串("slow", "normal", or "fast")或表示动画时长的毫秒数值(如：1000),默认：200

        complement: true,                                     // 是否显示日期或年空白处的前后月的补充,默认：true

        readonly: true,                                       // 目标对象是否设为只读，默认：true

        upperLimit: new Date(),                               // 日期上限，默认：NaN(不限制)

        lowerLimit: new Date("2011/01/01"),                   // 日期下限，默认：NaN(不限制)

        callback: function () {                               // 点击选择日期后的回调函数

            alert("您选择的日期是：" + $("#txtBeginDate").val());

        }

    });

   

});

</script>

</head>
<body>
<div style="margin:200px auto; width:500px;">
<input id="txtBeginDate" style="width:170px;padding:7px 10px;border:1px solid #ccc;margin-right:10px;"/>

  <input id="txtEndDate" style="width:170px;padding:7px 10px;border:1px solid #ccc;" />
</div>
</body>
</html>